package spring.lottery.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class LoginRequestParamByEmail extends LoginParam {
    @NotBlank(message = "LoginRequestParamByEmail: email参数不能为空")
    private String email;

    @NotBlank(message = "LoginRequestParamByEmail: verificationCode参数不能为空")
    private String verificationCode;

    @NotBlank(message = "LoginRequestParamByEmail: mandatoryIdentity参数不能为空")
    private String mandatoryIdentity;

}
